package org.tnaggs.project.model;

import java.io.Serializable;

import org.tnaggs.project.constants.Roles;

public class Contact implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 12345L;
	
	private String firstName;
	private String lastName;
	private String email;
	private String password;
	private String phoneNumber;
	private int contactID;
	private int roleID;
	
	public String getFullName() {
		return firstName + " " + lastName;
	}
	
	public String getRoleString() {
		return Roles.convertIntToString(roleID);
	}
	
	public String getFirstName() {
		return firstName;
	}
	
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	public String getLastName() {
		return lastName;
	}
	
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getPhoneNumber() {
		return phoneNumber;
	}
	
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public int getContactID() {
		return contactID;
	}

	public void setContactID(int contactID) {
		this.contactID = contactID;
	}

	public int getRoleID() {
		return roleID;
	}

	public void setRoleID(int roleID) {
		this.roleID = roleID;
	}
}
